package com.fulu.game.bi.controller.dispatch;

import com.fulu.game.bi.entity.vo.Result;
import com.fulu.game.bi.service.impl.dispatch.ExposureConditionServiceImpl;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 平台分发-查询条件接口
 */
@RestController
@RequestMapping("/api/exposure/condition")
@Slf4j
public class ExposureConditionController {

    @Autowired
    private ExposureConditionServiceImpl exposureConditionService;

    /**
     * 陪玩师曝光总览-查询条件-人工策略组
     */
    @RequestMapping("/manual-strategy")
    public Result manualStrategy() {
        return Result.success().data(exposureConditionService.manualStrategy());
    }


    /**
     * 聊天室曝光总览-查询条件-场景
     */
    @RequestMapping("/room-scene")
    public Result roomScene() {
        return Result.success().data(exposureConditionService.roomScene());
    }


}
